<?php
include '../configs/global.php';
include '../style/jump.php';
$id = $_GET['id'];
$sql = "select resources.resourcesinfo,questions.*,curriculum.cname  from resources,questions,curriculum where   questions.cid='$id' and resources.qid=questions.id and curriculum.id='$id'";

// echo $sql;
$rows = $pdo->getAll($sql);


if (!$rows) { }
include '../views/common/adminhead.html';
include '../views/showquestions.html';
include '../views/common/adminfoot.html';
